package com.ruoyi.project.dict.chengyu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 成语词典对象 chengyu
 *
 * @author shixiangwen
 * @date 2021-12-02
 */
public class Chengyu extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 成语
     */
    @Excel(name = "成语")
    private String ci;

    /**
     * 标签
     */
    @Excel(name = "标签")
    private String tag;

    /**
     * 拼音
     */
    @Excel(name = "拼音")
    private String pinyin;

    /**
     * 用法
     */
    @Excel(name = "用法")
    private String yongfa;

    /**
     * 色彩
     */
    @Excel(name = "色彩")
    private String secai;

    /**
     * 解释
     */
    @Excel(name = "解释")
    private String jieshi;

    /**
     * 出处
     */
    @Excel(name = "出处")
    private String chuchu;

    /**
     * 常用程度
     */
    @Excel(name = "常用程度")
    private String changyong;

    /**
     * 结构
     */
    @Excel(name = "结构")
    private String jiegou;

    /**
     * 年代
     */
    @Excel(name = "年代")
    private String niandai;

    /**
     * 例子
     */
    @Excel(name = "例子")
    private String lizi;

    /**
     * 英语翻译
     */
    @Excel(name = "英语翻译")
    private String english;

    /**
     * 日语翻译
     */
    @Excel(name = "日语翻译")
    private String japan;

    /**
     * 同义词
     */
    @Excel(name = "同义词")
    private String tongyici;

    /**
     * 注音
     */
    @Excel(name = "注音")
    private String zhuyin;

    /**
     * 反义词
     */
    @Excel(name = "反义词")
    private String fanyici;

    /**
     * 拼音(无声调)
     */
    @Excel(name = "拼音(无声调)")
    private String py;

    private String[] tags;

    private String diangu;

    public String[] getTags() {
        return tags;
    }

    public void setTags(String[] tags) {
        this.tags = tags;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCi(String ci) {
        this.ci = ci;
    }

    public String getCi() {
        return ci;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTag() {
        return tag;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setYongfa(String yongfa) {
        this.yongfa = yongfa;
    }

    public String getYongfa() {
        return yongfa;
    }

    public void setSecai(String secai) {
        this.secai = secai;
    }

    public String getSecai() {
        return secai;
    }

    public void setJieshi(String jieshi) {
        this.jieshi = jieshi;
    }

    public String getJieshi() {
        return jieshi;
    }

    public void setChuchu(String chuchu) {
        this.chuchu = chuchu;
    }

    public String getChuchu() {
        return chuchu;
    }

    public void setChangyong(String changyong) {
        this.changyong = changyong;
    }

    public String getChangyong() {
        return changyong;
    }

    public void setJiegou(String jiegou) {
        this.jiegou = jiegou;
    }

    public String getJiegou() {
        return jiegou;
    }

    public void setNiandai(String niandai) {
        this.niandai = niandai;
    }

    public String getNiandai() {
        return niandai;
    }

    public void setLizi(String lizi) {
        this.lizi = lizi;
    }

    public String getLizi() {
        return lizi;
    }

    public void setEnglish(String english) {
        this.english = english;
    }

    public String getEnglish() {
        return english;
    }

    public void setJapan(String japan) {
        this.japan = japan;
    }

    public String getJapan() {
        return japan;
    }

    public void setTongyici(String tongyici) {
        this.tongyici = tongyici;
    }

    public String getTongyici() {
        return tongyici;
    }

    public void setZhuyin(String zhuyin) {
        this.zhuyin = zhuyin;
    }

    public String getZhuyin() {
        return zhuyin;
    }

    public void setFanyici(String fanyici) {
        this.fanyici = fanyici;
    }

    public String getFanyici() {
        return fanyici;
    }

    public void setPy(String py) {
        this.py = py;
    }

    public String getPy() {
        return py;
    }

    public String getDiangu() {
        return diangu;
    }

    public void setDiangu(String diangu) {
        this.diangu = diangu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ci", getCi())
                .append("tag", getTag())
                .append("pinyin", getPinyin())
                .append("yongfa", getYongfa())
                .append("secai", getSecai())
                .append("jieshi", getJieshi())
                .append("chuchu", getChuchu())
                .append("changyong", getChangyong())
                .append("jiegou", getJiegou())
                .append("niandai", getNiandai())
                .append("lizi", getLizi())
                .append("english", getEnglish())
                .append("japan", getJapan())
                .append("tongyici", getTongyici())
                .append("zhuyin", getZhuyin())
                .append("fanyici", getFanyici())
                .append("py", getPy())
                .toString();
    }
}
